<h1>Listing activities</h1>

<table>
  <tr>
    <th>Tiempo destinado</th>
    <th>Fecha aproximada finalizacion</th>
    <th>Entregables</th>
    <th>Categoria</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @activities.each do |activity| %>
  <tr>
    <td><%= activity.tiempo_destinado %></td>
    <td><%= activity.fecha_aproximada_finalizacion %></td>
    <td><%= activity.entregables %></td>
    <td><%= activity.categoria %></td>
    <td><%= link_to 'Show', activity %></td>
    <td><%= link_to 'Edit', edit_activity_path(activity) %></td>
    <td><%= link_to 'Destroy', activity, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Activity', new_activity_path %>
